package com.ruiysoft.crm.service.impl;

import com.ruiysoft.crm.entity.FsDirectory;
import com.ruiysoft.crm.entity.FsDirectoryEx;
import com.ruiysoft.crm.mapper.FsDirectoryMapper;
import com.ruiysoft.crm.service.IFsDirectoryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 分机号和网关，关联表 服务实现类
 * </p>
 *
 * @author jobob
 * @since 2020-03-04
 */
@Service
public class FsDirectoryServiceImpl extends ServiceImpl<FsDirectoryMapper, FsDirectory> implements IFsDirectoryService {

    @Override
    public List<FsDirectoryEx> listLeftJoinGateWay(String enterpriseCode) {
        return this.getBaseMapper().listLeftJoinGateWay(enterpriseCode);
    }

    @Override
    public FsDirectoryEx getByIdLeftJoinGateWay(Integer id) {
        return this.getBaseMapper().getByIdLeftJoinGateWay(id);
    }
}
